package com.jzlin.funhub.admin.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jzlin.funhub.framework.core.db.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 问题记录表
 * </p>
 *
 * @author jzlin
 * @since 2025-05-14
 */
@Getter
@Setter
@TableName(value = "question", autoResultMap = true)
public class Question extends BaseEntity {

    private static final long serialVersionUID = 1L;
    /**
     * 问题标题
     */
    private String title;

    /**
     * 问题详情（Markdown格式）
     */
    private String content;

    /**
     * 问题摘要
     */
    private String summary;

    /**
     * 所属分类
     */
    private Long categoryId;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 浏览量
     */
    private Long viewCount;

    /**
     * 回答量
     */
    private Long answerCount;

    /**
     * 悬赏积分
     */
    private Long bountyPoints;

    /**
     * 是否审核通过
     */
    private Boolean isApproved;

    /**
     * 是否草稿
     */
    private Boolean isDraft;

    /**
     * 收藏量
     */
    private Long starCount;
}
